package com.yang.mall.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author lijia
 * @since 2022-04-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TenantShowWindowDTO", description="")
public class TenantShowWindowDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "租户ID")
    private String tenantCode;

    @ApiModelProperty(value = "支付方式（1、微信支付 2、线下支付)")
    private String payMode;

    @ApiModelProperty(value = "运费模板ID")
    private Long freightTemplateId;

    @ApiModelProperty(value = "模板名称")
    private String templateName;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "创建时间")
    private Long createBy;

    @ApiModelProperty(value = "更新时间")
    private Long updateBy;

    @ApiModelProperty(value = "配送方式（1，快递 2，上门自提，3，支持两者）")
    private Integer distributionMode;

    @ApiModelProperty(value = "是否打开商品橱窗设置: 0:不打开 1:打开")
    private Integer openShowWindow;

    @ApiModelProperty(value = "开播权限:0:对接系统用户,1:认证用户 2:平台品牌认证用户 3:平台用户 4:所有用户")
    private Integer viewType;

    @ApiModelProperty(value = "用户类型(1、ToC  2、ToB)")
    private Integer userType;

    @ApiModelProperty(value = "下发业务员分佣开关: 0: 未开启 1:开启")
    private Integer deliverySalesStatus;

}
